home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98c.txt
/
000103_icon-group-sender _Mon Dec 7 14:40:40 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id OAA29911
for icon-group-addresses; Mon, 7 Dec 1998 14:40:32 -0700 (MST)
Message-Id: <199812072140.OAA29911@baskerville.CS.Arizona.EDU>
Date: Mon, 7 Dec 1998 10:30:23 -0700
From: Gregg Townsend <gmt@optima.CS.Arizona.EDU>
To: Paul_A._Sue@ismbc.com, icon-group@optima.CS.Arizona.EDU
Subject: Re: Icon to C interface
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
From: "Paul A. Sue" <Paul_A._Sue@ismbc.com>
To: icon-group@optima.CS.Arizona.EDU
Date: Thu, 3 Dec 1998 15:05:19 -0800
...I would like to know if there is a way to interface Icon with C
(i.e. call C functions from Icon, or call an Icon procedure from C) ??
It is fairly easy to call C functions from Icon under Unix if you're
willing to write the functions specifically to interface to Icon.
See the "dynamic loading" section of
http://www.cs.arizona.edu/icon/docs/ipd240.htm
(If anyone has figured out how to make this work under IBM AIX 4.2,
I'd like to hear from them; it doesn't like my shared library. )
There's no easy way to call Icon code from C other than by communication
with an Icon program running in a separate process. (System(), pipe, etc.)
---------------------------------------------------------------------------
Gregg Townsend Gould-Simpson Building gmt@cs.arizona.edu
Staff Scientist 1040 E. 4th St. 32 13 45N 110 57 16W
Dept. of Computer Science PO Box 210077 tel: +1 520 621 4325
The University of Arizona Tucson, AZ 85721-0077 fax: +1 520 621 4246